reduce complexity of gdb waypt searchs from O(n^2) to O(n) (#1141)
* use QHash for gdb waypoint searches.
This reduces the complexity from O(n^2) to O(n).
For the reader two parallel hashes are maintained with different
keys but identical values. This is necessary because sometimes
we want to match the name and position, and other times we just want
to match the name.
* workaround missing qHashMulti in Qt5.
and supply missing default for our qHash functions.
* fix MSVC C2666 errors due to an erroneous assumption.
In Qt6 the return type of qHash, and the type of the seed,
happens to be the same as QHash::size_type.
However, this isn't true in Qt5.